Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Utility Functions /


JMGetCurrentJRIEnv

Returns the current JRIEnv data structure.

struct JRIEnv* JMGetCurrentJRIEnv (JMSessionRef session);
session
The current session.
function result
A pointer to the JRIEnv data structure.
DISCUSSION
The JMGetCurrentJRIEnv function allows you to obtain the current Java Runtime Interface (JRI) structure. Once you have the JRIEnv structure, you can call JRI functions. The data structure JRIEnv is defined in the header file JRI.h.

Note
Unless you have a particular reason to access the Java Runtime Interface, you should access the Java Native Interface, which provides similar functionality, instead.
You can find documentation for the Java Runtime Interface at the Web site

http://developer.netscape.com/


Previous Book Contents Book Index Next

© Apple Computer, Inc.
10 DEC 1997